using System;
using System.Collections.Generic;
using System.Text;

namespace RSSApplicationUpdater
{
    /// <summary>
    /// The configuration of the library
    /// </summary>
   public  class Properties
    {
       string uri, appforupd, release_state, cms, app_website, feed_list_file, alpha_feed, beta_feed, rc_feed, stable_feed;
       bool autocheck;
       /// <summary>
       /// The rss feed that will be parsed.
       /// </summary>
       public string URI
       {

           set
           {
               uri = value;

           }
           get
           {

               return uri;
           }
       }
       /// <summary>
       /// The name of the application that the library will update
       /// </summary>
       public string ApplicationName
       {
           set
           {
               appforupd = value;

           }
           get
           {
               return appforupd;

           }


       }
       /// <summary>
       /// the state of the application that will search for.
       /// (example: alpha,beta,RC,final)
       /// </summary>
       public string Release_State
       {
           set
           {
               release_state = value;

           }
           get
           {
               return release_state;

           }


       }
       /// <summary>
       /// The content managment system that is used in the projects web.
       /// </summary>

       public string CMS
       {

           get { return cms; }
           set { cms = value; }


       }
       /// <summary>
       /// Gets or sets the ability to autocheck
       /// </summary>
       public bool AutoCheck
       {
           get { return autocheck; }
           set { autocheck = value; }



       }
       /// <summary>
       /// The Url of the Applicaion's Web site.
       /// 
       /// Note: For easier way user to find the feed 
       /// especialy if ur using drupal as cms just put 
       /// the url of the forum here.
       /// </summary>
       public string Application_WebSite
       {
           get
           {

               return app_website;
           }
           set
           {
               app_website = value;

           }



       }
       
      /* //// <summary>
       /// A text File with a list of rss feeds devided with new line char. 
       /// 
       /// 
       /// You can define a feed for a spesific release state like this
       /// #Beta# http:/examplefeed
       /// </summary>
       public string Feed_List_File
       {
           get { return feed_list_file; }
           set { feed_list_file = value; }

       }
       */
       
       /// <summary>
       /// Feed that contain the alpha releases
       /// </summary>
       public string Alpha_feed
       {

           get { return alpha_feed; }
           set { alpha_feed = value; }

       }
       /// <summary>
       /// Feed that contain the beta releases
       /// </summary>
       public string Beta_feed
       {

           get { return beta_feed; }
           set { beta_feed = value; }
       }
       /// <summary>
       /// Feed that contain the RC releases
       /// </summary>
       public string RC_feed
       {
           get { return rc_feed; }
           set { rc_feed = value; }

       }
       public string Stable_feed
       {

           get { return stable_feed; }
           set { stable_feed = value; }
       }
    }
}
